package com.wu.javax.servlet.http;


/**
 * @program: tomcatServer
 * @author: 吴磊
 * @create: 2021-12-31 14:11
 */
public interface HttpSessionContext {
    /**
     * 获取Session
     *
     * @param sessionId 字符串
     * @return HttpSession
     */
    HttpSession getSession(String sessionId);

    /**
     * 设置Session
     *
     * @param sessionId id
     * @param session   HttpSession
     */
    void setSession(String sessionId, HttpSession session);
}
